package com.pcitc.smcc.vulnerability.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 统一返回值包装类
 * @author:张三石
 * @since:2020年3月30日 下午4:11:17
 * @param <T> 实际包装的类型
 */
@Data
@ApiModel(value = "统一返回值包装类表", description = "统一返回值包装类")
public class ResultWrapper<T> {
	@ApiModelProperty(value =  "返回代码")
	private final Integer code;
	@ApiModelProperty(value =  "执行信息")
	private final String msg;
	@ApiModelProperty(value =  "返回数据")
	private final T data;
}